<%--
  User: Shengzhao Li
  Date: 13-8-20
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<div>
    <form action="" class="form-horizontal">
        <p class="text-center">The task(#${sprintTaskDto.number}) estimate time is
            <strong>${sprintTaskDto.estimateTime}</strong> hour(s).</p>

        <div class="control-group">
            <label class="control-label" for="actualUsedTimeSelect">Actual time</label>

            <div class="controls">
                <select id="actualUsedTimeSelect">
                    <c:forEach items="${taskTimes}" var="t">
                        <option value="${t}" ${t eq sprintTaskDto.estimateTime?'selected':''}>${t}</option>
                    </c:forEach>
                </select>
            </div>
        </div>
    </form>
</div>